﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="HomePage.ascx.cs" Inherits="admin_webparts_Common_HomePage" %>
<%@ Import Namespace="NTTHAO.CommonWeb" %>
<%@ Register Src="SelectLanguage.ascx" TagName="SelectLanguage" TagPrefix="uc1" %>
<%if (Context.User.Identity.Name.Equals("admin", StringComparison.OrdinalIgnoreCase)){ %>
<div class="tip">
    <h1><%=LanguageUtility.GetLanguageID() == 1 ? "Thông tin website" : "Website Management"%></h1>
    <table width="100%" cellspacing="0" cellpadding="3" border="0" style="margin-top: 10px;" class="grid">
        <tr class="odd">
            <td width="1%" nowrap="nowrap"><%=LanguageUtility.GetLanguageID() == 1 ? "Trang web mặc định:" : "Default site:"%></td>
            <td>
            <%if (_Site != null)
              { %>
            <span style="color: Blue; font-weight: bold;"><%=_Site.SiteName%></span>
            </td>
            <td width="1%" nowrap="nowrap"><a href="?type=siteedit"><%=LanguageUtility.GetLanguageText("EDIT", Session) %></a><%} else { %>No site<%} %>&nbsp;&nbsp;<a href="?type=site"><%=LanguageUtility.GetLanguageText("CHANGE", Session) %></a></td>
        </tr>
    </table>
</div>
<%} %>
<uc1:SelectLanguage ID="SelectLanguage1" runat="server" />
